<?global $VALUTA;?>
<h1>Курсы валют</h1>

<table class='list' style='width:auto' cellspacing=0>
<tr>
	<td><b>Дата</b></td>
	<?php foreach($VALUTA as $k => $v){ if($k == 'R') continue; ?>
		<td><b><?=$v?> / RUB</b></td>
	<?php } ?>
</tr>
<?php foreach($exchanges as $date => $ex){ ?>
	<tr>
		<td><b><?=$date?></b></td>
		<?php foreach($VALUTA as $k => $v){ if($k == 'R') continue;?>
			<td><?=$ex[$k]?></td>
		<?php } ?>
	</tr>
<?php } ?>
</table>

